#include "udpClient.h"
#include "udpServer.h"
#include "string.h"


int main(int argc, char *argv[]) 
{
    if(argc < 2)
    {
        printf("Error: ./CJSON_TEST.elf s/c !\r\n");
        return 1;
    }
    if (strcmp(argv[1], "s") == 0) {
        udpServer();
    } else {
        udpClient();
    }
}